package com.hnyfkj.jyindustry.common.utils;

import java.io.Serializable;

import javax.validation.constraints.Min;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel
@Data
public class PageQueryDto implements Serializable {

    private static final long serialVersionUID = 110282130239500936L;
    @ApiModelProperty(value = "页码", required = true)
    @Min(value = 1,message = "页码不能为空")
    private Integer page;
    @ApiModelProperty(value = "条目", required = true)
    @Min(value = 1,message = "条目不能为空")
    private Integer limit;
}